mult: mult.c
	gcc -Wall -I${TACC_PAPI_INC} -c mult.c
	g++ -Wl,-rpath,${TACC_PAPI_LIB} -L${TACC_PAPI_LIB} -lpthread -lpapi mult.o -o mult
	rm -f *.o

build: compile_build
	./build 10 10 .1

compile_build: build.c
	gcc build.c -o build
